package god.model;

public class SungJuk2VO {

	private String name;
	private int kor;
	private int eng;
	private int mat;
	private int tot;
	private double avg;
	private char grd;

	public SungJuk2VO( String name, int kor, int eng, int mat ) {
		this.name = name;
		this.kor = kor;
		this.eng = eng;
		this.mat = mat;
	}

	public void setName ( String name ) { this.name = name; }
	public void setKor ( int kor ) { this.kor = kor; }
	public void setEng ( int eng ) { this.eng = eng; }
	public void setMat ( int mat ) { this.mat = mat; }
	public void setTot(int tot) { this.tot = tot; }
	public void setAvg(double avg) { this.avg = avg; }
	public void setGrd(char grd) { this.grd = grd; }

	public String getName() { return name; }
	public int getKor() { return kor; }
	public int getEng() { return eng; }
	public int getMat() { return mat; }
	public int getTot() { return tot; }
	public double getAvg() { return avg; }
	public char getGrd() { return grd; }
	
	@Override
	public String toString() {
		String result = "";
		result += name + "/" + kor + "/" + eng + "/" + mat + "/" + tot + "/" + avg + "/" + grd;
		return result;
	}
}
